/* ============================ LAYOUT STYLES LAPTOP ============================ */

body{
     display: flex;
     flex-direction: column;            
     justify-content: center; 
     font-family: 'Poppins', sans-serif; 
     margin: 0; 
     max-width: 100%;
}

/* MOVIL */
@media (max-width: 480px) {
  .title-content{
  font-size: 0.6rem;
}
} 

/* ============================ HEADER ============================ */
.top-bar{
    background-color: #8CC63F;
    height: 70px;
}

.top-bar-content{
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 60px;
  gap: 30px; 
}

/* Logo */
.logo img{
  height: 40px;
}

/* Buscador */
.search-bar{
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Acciones usuario */
.user-actions{
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar a{
    text-decoration: none;
    color: black;
    font-weight: 300;
    display: flex;
    align-items: center;
    gap: 0.3em;
}

.top-bar a:hover{
    color: #003F5C;
}

input{
  padding: 5px 35px 5px 10px;
  border-radius: 20px;
  border: none;
  width: 100%;
  max-width: 400px;
}


/*=========================== Móvil ========================== */
@media (max-width: 480px) {
  .top-bar-content {
    padding: 10px 15px;
    gap: 8px;
    
  }

  .logo img {
    height: 20px;
  }

  .user-actions a[href*="cuenta"],
  .user-actions a[href*="ingresar"] {
    display: none;
  }

  @media (max-width: 480px) {
  .btn-favoritos,
  .btn-carrito img {
    display: none;
  }
}

  .user-actions {
    gap: 10px;
  }

  input {
    padding: 5px 10px;
  }
}

/* ============================ NAV BAR PRINCIPAL============================ */

.nav-bar ul li {
    list-style: none;
    display: inline-block; 
    margin: 0 20px;
}

.nav-bar ul{
    text-align: center;
    padding: 0;
    margin: 0;
}

.dropbtn {
  color:black;
  padding: 16px;
  font-size: 16px;
  border: none;
  cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #8CC63F}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #8CC63F;
}

/* ============================ BREADCRUMB ============================ */
/* Style the list */
ul.breadcrumb {
  padding: 10px 250px;
  list-style: none;
}

/* Display list items side by side */
ul.breadcrumb li {
  display: inline;
  font-size: 18px;
}

/* Add a greater-than symbol (>) before each list item */
 ul.breadcrumb li+li:before {
  padding: 8px;
  color: black;
  content: ">\00a0";
}

/* Add a color to all links inside the list */
ul.breadcrumb li a {
  color: #0275d8;
  text-decoration: none;
}

/* Add a color on mouse-over */
 ul.breadcrumb li a:hover {
  color: #8CC63F;
  text-decoration: none;
}
/* ============================ FOOTER ============================ */
/*Footer*/
footer{
  background-color: #003F5C;
}

.contenedor-footer{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 30px 50px;
}

.text-3 {
  color: white;
}

.text-3:hover{
  color: #8CC63F;
  cursor: pointer;
}

.cont-1 img{
  width: 30px;
  padding: 15px 5px;
}

.cont-2 img{
  width: 20px;
}

.cont-4 img{
  width: 300px;
  max-width: 100%;
}

ul {
  padding: 0;
  list-style: none;
}
.sub-titulos{
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.text-2{
  color: white;
}

.contacto {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.redog{
  color: white;
  width: max-content;       
  margin: 0 auto;           
  padding: 16px;
  font-size: 0.8em;
  text-align: center;
}

/* =========================== Móvil  ========================== */
@media (max-width: 480px) {
  .contenedor-footer {
    grid-template-columns: 1fr;
    padding: 25px 20px;
    gap: 25px;
  }

  .sub-titulos {
    font-size: 16px;
  }

  .cont-1 img {
    width: 25px;
    padding: 10px 5px;
  }

  .cont-4 img {
    width: 40%;
  }

  .redog {
    font-size: 0.75em;
    padding: 12px;
  }
}






  